<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>已生成工单查询</title>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a {
	color:#000;
	text-decoration: none;
}
a:hover {
	color:#CA5466;
	text-decoration:underline;
}
a img {
	border: 0;
}
.STYLE1 {
	font-size: 13px;
	color: #000;
}

.STYLE3 {
	font-size: 12px;
	font-weight: bold;
}

.STYLE4 {

	font-size: 12px;
}
.right{
	display:block;
	position:absolute;
	height:0;
	width:0;
	border:8px solid #fff;
	border-left:none;
	top:8px;
	overflow:hidden;
	border-right-color:#7bc4d3;
	
}
-->
</style>
		<script language="javascript" src="js/jquery.js"></script>
		<script language="javascript" src="js/tdColor.js"></script>
		<script>
			var ifCanMove = false;
			var mousePos;
			document.onmousemove = mouseMove;

			function mouseMove(ev){
				ev = ev || window.event;
				mousePos = mousePosition(ev);
			}
			
			function mousePosition(ev) {
				if (ev.pageX || ev.pageY) {
					return {x:ev.pageX,y:ev.pageY};
				}
				return {
					x:ev.clientX+document.body.scrollLeft - document.body.clientLeft,
					y:ev.clientY+document.body.scrollTop - document.body.clientTop
				}
			}
		</script>

	</head>

	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30" background="images/main/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="images/main/tab_03.gif" width="12" height="30" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="46%" valign="middle">
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
													<td width="5%">
														<div align="center">
															<img src="images/main/tb.gif" width="16" height="16" />
														</div>
													</td>
													<td width="95%" class="STYLE1">
														<span class="STYLE3">你当前的位置</span>：[队员管理]-[队员列表]
													</td>
												</tr>
											</table>
										</td>
										<td width="54%">
											<table border="0" align="right" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="80">
														
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1"></td>
																<td class="STYLE1"></td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="images/main/tab_07.gif" width="16" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="8" background="images/main/tab_12.gif">
								&nbsp;
							</td>
							<td>
								<table width="100%" border="0" cellpadding="0" cellspacing="1"
									bgcolor="#b5d6e6">
									<tr bgcolor="#FFFFFF">
										<td width="60" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">头像</span>
											</div>
										</td>
										<td width="80" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">姓名</span>
											</div>
										</td>
										<td width="150" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">加入团队时间</span>
											</div>
										</td>
										<td width="90" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">所属组</span>
											</div>
										</td>
										<td  width="160" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">手机号码</span>
											</div>
										</td>
										<td width="200"height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">专业名称</span>
											</div>
										</td>
										<td height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">QQ号码</span>
											</div>
										</td>
										<td width="80" height="22" background="images/main/bg.gif">
											<div align="center">
												<span class="STYLE1">状态</span>
											</div>
										</td>
										<s:if test="#session.user.post in {3,4}">
										<td width="200" height="22" background="images/main/bg.gif">
											<div align="center" >
												<span class="STYLE1">操作</span>
											</div>
										</td>
										</s:if>

										
									</tr>
									<s:iterator value="users" var="users">			
									<tr class="changeColor" bgcolor="#FFFFFF"
										style="color: #ff0000">
										<td height="20">
											<div align="center" class="STYLE1">
												<div align="center">
														<span>
															<span style="cursor:pointer;" onmousemove="{
																parentNode.children[1].style.display='block'
																parentNode.children[1].style.left = mousePos.x + 23 + 'px';
																parentNode.children[1].style.top = mousePos.y - 15 + 'px';
																}"
																onmouseout="parentNode.children[1].style.display='none'"><img src=<s:property value="#users.headImg.imgSrc"/> width="20"/>
															</span>
															<div style="font-size:13px;display:none;position:absolute;background:#fff;" >
																<span class="right" ></span><img src=<s:property value="#users.headImg.imgSrc"/> style="margin-left:8px;border:1px solid #7bc4d3;" width="200"/>
															</div>
														</span>
												</div>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><a href="front/getMemberInfo.action?user.id=<s:property value="#users.id" />" ><s:property value="#users.name"/></a></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><s:date name="#users.joinTime" format="yyyy-MM-dd" nice="false"/></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><s:property value="#users.group.groupName"/></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><s:property value="#users.phone"/></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><s:property value="#users.major"/></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1"><s:property value="#users.qq"/></span>
											</div>
										</td>
										<td height="20">
											<div align="center">
												<span class="STYLE1">正常</span>
											</div>
										</td>
										<s:if test="#session.user.post in {3,4}">
										<td height="20">
											<div align="center" style="padding:0;font-weight:normal;font-size:12px">
												<span style="background:url(images/main/edt.gif) 0 -2px no-repeat;padding-left:14px;"><a href="front/memberInfoModify!getMemberInfo?user.id=<s:property value="#users.id" />" >修改信息</a></span>
												<span style="background:url(images/main/del.gif) 0 -2px no-repeat;padding-left:14px;"><a href="front/memberDelete.action?user.id=<s:property value="#users.id" />" onclick="return confirm('确认删除？');">删除</a></span>
											</div>
										</td>
										</s:if>
									</tr>
									</s:iterator>
								</table>
							</td>
							<td width="8" background="images/main/tab_15.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" background="images/main/tab_19.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="35">
								<img src="images/main/tab_18.gif" width="12" height="35" />
							</td>
							<td>
								<form action="" method="get">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td class="STYLE4">
												&nbsp;&nbsp;共有 <s:property value="page.rowCount" /> 条记录，
												当前第 <s:property value="page.currentPage" /> / <s:property value="page.pageCount" /> 页
											</td>
											<td>
												<table border="0" align="right" cellpadding="0"
													cellspacing="0">
													<tr>
														<td width="40">
															<a href="front/memberList?page.currentPage=1"><img src="images/main/first.gif"
																	width="37" height="15" border="0" />
															</a>
														</td>
														<s:if test="page.currentPage != 1" >
														<td width="45">
															<a href="front/memberList?page.currentPage=<s:property value="page.currentPage - 1" />"><img src="images/main/back.gif"
																	width="43" border="0" height="15" />
															</a>
														</td>
														</s:if>
														<s:if test="page.currentPage != page.pageCount" >
														<td width="45">
															<a href="front/memberList?page.currentPage=<s:property value="page.currentPage + 1" />"><img src="images/main/next.gif"
																	width="43" border="0" height="15" />
															</a>
														</td>
														</s:if>
														<td width="40">
															<a href="front/memberList?page.currentPage=<s:property value="page.pageCount" />""><img src="images/main/last.gif"
																	border="0" width="37" height="15" />
															</a>
														</td>
														<td width="100">
															<div align="center">
																<span class="STYLE1">转到第 <input name="page.currentPage"
																		type="text" size="4"
																		style="height: 12px; width: 20px; border: 1px solid #999999;" />
																	页 </span>
															</div>
														</td>
														<td width="40">
															<input type="image" src="images/main/go.gif" width="37"
																height="15" />
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</form>
							</td>
							<td width="16">
								<img src="images/main/tab_20.gif" width="16" height="35" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>